const Koa = require("koa");
const app = new Koa();

const Router = require("koa-router");
const router = new Router({
  prefix: "/api",
});

router.get("/", (ctx) => {
  ctx.status = 200;

  ctx.body = {
    msg: "获取列表成功",
  };
});

app.listen(3000, () => {
  console.log("3000 running");
});
